// 获取部门列表接口
const getDepartmentPage = (params) => {
  return $axios({
    url: '/department',
    method: 'get',
    params
  })
}

// 新增部门接口
const addDepartment = (params) => {
  return $axios({
    url: '/department',
    method: 'post',
    data: params
  })
}

// 查找部门接口
const reqFindDepartment = (params) => {
  return $axios({
    url: '/department/find',
    method: 'get',
    params
  })
}

// 删除部门接口
const deleteDepartment = (params) => {
  return $axios({
    url: 'department/delete',
    method: 'delete',
    params
  })
}

// 修改部门接口
const reqEditDepartment = (params) => {
  return $axios({
    url: '/department',
    method: 'put',
    data: params
  })
}